# -*-coding: utf-8 -*-
"""
    @Theme   : 
    @Time    : 2024/6/9 10:45
    @Author  : YamFish
    @Url     : https://www.zhihu.com/people/yamfish
"""
import os

from flask import Flask

from .models import DataBaseManager

app = Flask(__name__)
db = DataBaseManager(os.getenv('DATABASE', 'mongodb-crud'),
                     os.getenv('COLLECTION', 'default'))

from app import views, commands
